
<!doctype html>
<html class="theme-next use-motion ">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="stylesheet" type="text/css" href="css/a.css?v=2.1.5"/>
  <link rel="stylesheet" type="text/css" href="css/b.css?v=0.4.5.1"/>
  <meta name="keywords" content="Hexo,next" />
  <link rel="alternate" href="/atom.xml" title="sw的个人主页" type="application/atom+xml" />
  <link rel="shorticon icon" type="image/x-icon" href="/favicon.ico?v=0.4.5.1" />
<meta name="description">
<meta property="og:type" content="website">
<meta property="og:title" content="sw的个人中心">
<meta property="og:url" content="http://yoursite.com/index.html">
<meta property="og:site_name" content="sw的个人中心">
<meta property="og:description">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="sw的个人中心">
<meta name="twitter:description">

<script type="text/javascript" id="hexo.configuration">
  var CONFIG = {
    scheme: '',
    sidebar: 'post'
  };
</script>

  <title> sw的个人中心 </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?f75c9fc55ce711d994ad937b3930c70a";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>

  <div class="container one-column 
   page-home 
">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><h1 class="site-meta">
  <span class="logo-line-before"><i></i></span>
  <a href="" class="brand" rel="start">
  <span class="logo">
        
      </span>
      <span class="site-title">sw的个人中心 </span>
  </a>
  <span class="logo-line-after"><i></i></span>
</h1>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
    
    <ul id="menu" class="menu ">
      
        
        <li class="menu-item menu-item-home">
          <a href="index.html" rel="section">
            <br />
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="libs/essay.html" rel="section">
             <br />
            文章
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="libs/picture.html" rel="section">
           <br />
            图库
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="libs/fun.html" rel="section">
            <br />
            娱乐
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="libs/message.html" rel="section">
             <br />
            留言板
          </a>
        </li>
          
    </ul>
    
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div id="content" class="content"> 
  <section id="posts" class="posts-expand">

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
       
          <h1 class="post-title" itemprop="name headline">
              
                <a class="post-title-link" href="libs/introduce.html" itemprop="url">
                  自我介绍
                </a>
                          
          </h1>
  </header>
    <div class="post-body">
          <p><center>自我介绍，突然发现没什么可说的，尴尬又不失礼貌的微笑 ☺</center><br>
          <div class="post-more-link text-center">
            <a class="btn" href="libs/introduce.html" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <footer class="post-footer">
 
        <div class="post-eof"></div>
      
    </footer>
  </article>
  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
       
          <h1 class="post-title" itemprop="name headline">
              
                <a class="post-title-link" href="" itemprop="url">
                  文章1
                </a>
                          
          </h1>
  </header>
    <div class="post-body">
          <p><center>什么都没有☺</center><br>
          <div class="post-more-link text-center">
            <a class="btn" href="" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <footer class="post-footer">
 
        <div class="post-eof"></div>
      
    </footer>
  </article>
  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
       
          <h1 class="post-title" itemprop="name headline">
              
                <a class="post-title-link" href="" itemprop="url">
                  文章2
                </a>
                          
          </h1>
  </header>
    <div class="post-body">
          <p><center>什么都没有☺</center><br>
          <div class="post-more-link text-center">
            <a class="btn" href="" rel="contents">
              阅读全文 &raquo;
            </a>
          </div>
        
      
    </div>

    <footer class="post-footer">
 
        <div class="post-eof"></div>
      
    </footer>
  </article>

  </section>
<!--  分页
<nav class="pagination">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><a class="extend next" rel="next" href="/page/2/"><i class="fa fa-angle-right"></i></a>
  </nav> -->
 </div>

    </div>
 
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      <section class="site-overview">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" src="images/a.jpg" alt="sw" itemprop="image"/>
          <p class="site-author-name" itemprop="name">sw</p>
        </div>
        <p class="site-description motion-element" itemprop="description">做人最重要的就是要开心</p>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
             <a href="libs/essay.html">
              <span class="site-state-item-count">1</span>
              <span class="site-state-item-name">文章</span>
            </a>
          </div>

          <div class="site-state-item site-state-categories">
            <a href="libs/picture.html">
              <span class="site-state-item-count">1</span>
              <span class="site-state-item-name">照片</span>
              </a>
          </div>

          <div class="site-state-item site-state-tags">
            <a href="libs/message.html">
              <span class="site-state-item-count">0</span>
              <span class="site-state-item-name">留言</span>
              </a>
          </div>

        </nav>
        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="#" target="_blank">知乎</a>
              </span>
            
              <span class="links-of-author-item">
                <a href="#" target="_blank">微博</a>
              </span>
            
              <span class="links-of-author-item">
                <a href="#" target="_blank">github</a>
              </span>
              <span class="links-of-author-item">
                <a href="#" target="_blank">e-mail</a>
              </span>
            
          
        </div>

        <div class="links-of-author motion-element">
          
        </div>

      </section>

    </div>
  </aside>

    </main>

    <div class="back-to-top"></div>
  </div>

  <script type="text/javascript" src="js/a.js?v=2.1.3"></script>

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"ursocute"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>
    
  <script type="text/javascript" src="js/b.js"></script>
  <script type="text/javascript" src="js/c.js?v=0.4.5.1"></script>

  <script type="text/javascript" src="js/d.js?v=0.4.5.1"></script>
  
  <script type="text/javascript" src="js/e.js"></script>
  <script type="text/javascript" src="js/f.js"></script>

  <script type="text/javascript" src="js/g.js?v=0.4.5.1" id="motion.global"></script>

  <script type="text/javascript" src="js/h.js?v=0.4.5.1"></script>
  <script type="text/javascript" src="js/i.js?v=1.0.6"></script>

  <script type="text/javascript">
    $(document).ready(function () {
      if (CONFIG.sidebar === 'always') {
        displaySidebar();
      }
      if (isMobile()) {
        FastClick.attach(document.body);
      }
    });
  </script>
 
  <script type="text/javascript" src="js/j.js"></script>
  <script type="text/javascript">
    $(function () {
      $("#posts").find('img').lazyload({
        placeholder: "/images/loading.gif",
        effect: "fadeIn"
      });
    });
  </script>
  
     <!-- custom analytics part create by xiamo -->
<script src="/js/k.js"></script>
<script>AV.initialize("hMpa9t1yzzATAuTHjfLEevXK", "JC4Pli8XAogqPAsDn4xpghlj");</script>
<script>
function showTime(Counter) {
  var query = new AV.Query(Counter);
  $(".leancloud_visitors").each(function() {
    var url = $(this).attr("id").trim();
    query.equalTo("url", url);
    query.find({
      success: function(results) {
        if (results.length == 0) {
          var content = $(document.getElementById(url)).text() + ': 0';
          $(document.getElementById(url)).text(content);
          return;
        }
        for (var i = 0; i < results.length; i++) {
          var object = results[i];
          var content = $(document.getElementById(url)).text() + ': ' + object.get('time');
          $(document.getElementById(url)).text(content);
        }
      },
      error: function(object, error) {
        console.log("Error: " + error.code + " " + error.message);
      }
    });

  });
}

function addCount(Counter) {
  var Counter = AV.Object.extend("Counter");
  url = $(".leancloud_visitors").attr('id').trim();
  title = $(".leancloud_visitors").attr('data-flag-title').trim();
  var query = new AV.Query(Counter);
  query.equalTo("url", url);
  query.find({
    success: function(results) {
      if (results.length > 0) {
        var counter = results[0];
        counter.fetchWhenSave(true);
        counter.increment("time");
        counter.save(null, {
          success: function(counter) {
            var content = $(document.getElementById(url)).text() + ': ' + counter.get('time');
            $(document.getElementById(url)).text(content);
          },
          error: function(counter, error) {
            console.log('Failed to save Visitor num, with error message: ' + error.message);
          }
        });
      } else {
        var newcounter = new Counter();
        newcounter.set("title", title);
        newcounter.set("url", url);
        newcounter.set("time", 1);
        newcounter.save(null, {
          success: function(newcounter) {
              console.log("newcounter.get('time')="+newcounter.get('time'));
            var content = $(document.getElementById(url)).text() + ': ' + newcounter.get('time');
            $(document.getElementById(url)).text(content);
          },
          error: function(newcounter, error) {
            console.log('Failed to create');
          }
        });
      }
    },
    error: function(error) {
      console.log('Error:' + error.code + " " + error.message);
    }
  });
}
$(function() {
  var Counter = AV.Object.extend("Counter");
  if ($('.leancloud_visitors').length == 1) {
    addCount(Counter);
  } else if ($('.post-title-link').length > 1) {
    showTime(Counter);
  }
}); 
</script>
  
</body>
</html>
